$(function(){
  var index=0;
  tab1()
  function tab1(){
    $(".hy-tab p").eq(index).addClass("active1").siblings().removeClass("active1")
  }
  $(".hy-tab p").click(function(){
    index=$(this).index()
    tab1()
  })

  $(".hy-tab p:nth-of-type(1)").on('click',function(){
    location.href = 'http://localhost:9000/about/about.html'
  })
  $(".hy-tab p:nth-of-type(2)").on('click',function(){
    location.href = 'http://localhost:9000/about/invite.html'
  })
  $(".hy-tab p:nth-of-type(3)").on('click',function(){
    location.href = 'http://localhost:9000/about/contactus.html'
  })
  $(".hy-tab p:nth-of-type(4)").on('click',function(){
    location.href = 'http://localhost:9000/about/Sleepuntilpayment.html'
  })
})